﻿using System;
using Volo.Abp.Application.Dtos;
using Newtonsoft.Json;
using Swashbuckle.AspNetCore.Annotations;

namespace Leo.Awesome.DictionaryManagement.Dtos
{
    [SwaggerSchema(Required = new[] { "工程分页查询条件" })]
    public class AttachmentGetListPageInput : AttachmentGetListInput, IPagedResultRequest
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }

        [JsonIgnore]
        public int SkipCount
        {
            get { return (PageIndex - 1) * PageSize; }
            set {  }
        }

        [JsonIgnore]
        public int MaxResultCount
        {
            get { return PageSize; }
            set {  }
        }
    }
}
